export const formatDate = (dateStr)=>{
  // let date = new Date(dateStr)
  var datePart = dateStr.slice(0,10);
  var timePart = dateStr.slice(11,19);
  var formattedDateTime = datePart + " " + timePart;
  return formattedDateTime
}